package com.tanhua.server.service;

import com.tanhua.server.vo.PageResult;
import org.springframework.web.multipart.MultipartFile;

public interface VideoService {
    //保存小视频
    Boolean saveVideo(MultipartFile picFile, MultipartFile videoFile);
    //查询小视频列表
    PageResult queryVideoList(Integer page, Integer pageSize);
    //小视频点赞
    Long likeComment(String videoId);

    Long disLikeComment(String videoId);
    //查询评论列表
    PageResult queryCommentList(String videoId, Integer page, Integer pageSize);
    //提交评论
    Boolean saveComment(String videoId, String content);
    //视频用户关注
    Boolean followUser(Long userId);

    Boolean disFollowUser(Long userId);
}
